package me.youline.dataServer.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 公告消息统计记录对象
 * @author linhan
 *
 */
@Entity
@Table(name = "yline_social_msg_records")
public class PubMsgStatisticRecorder {
	
	/**
	 * 原创消息ID
	 */
	@Id
	@Column(name="id")
	private Long messageId;
	
	/**
	 * 点赞数
	 */
	@Column
	private int praiseNum;
	

	public Long getMessageId() {
		return messageId;
	}

	public void setMessageId(Long messageId) {
		this.messageId = messageId;
	}

	public int getPraiseNum() {
		return praiseNum;
	}

	public void setPraiseNum(int praiseNum) {
		this.praiseNum = praiseNum;
	}

	@Override
	public String toString() {
		return "PublicMessageRecorder [messageId=" + messageId + ", praiseNum="
				+ praiseNum + "]";
	}
	
}
